package com.hdax.dm.common.exception;

import lombok.Data;

@Data
public class DmException extends RuntimeException{

    protected String errorMsg;
    protected String errorCode;

    public DmException(String errorCode,String errorMsg){
        super(errorMsg);
        this.errorMsg = errorMsg;
        this.errorCode = errorCode;
    }

    protected DmException(){

    }

}
